package com.magic0610.MagicYaml.Exception;

import java.io.IOException;

public class MagicIOException extends RuntimeException {
    /*
     * 将IOException转化为非受检异常后抛出
     * 便于在简单开发测试时不处理异常
     */
    public MagicIOException(IOException exception) {
        super(exception.getMessage(), exception.getCause());
    }
}
